package com.hubiao.pay.merchant.service;

import com.hubiao.pay.common.domain.BusinessException;

/**
 * Description
 *
 * @author hubiao
 * @since 2020-11-04 20:22
 */
public interface SmsService {

    /**
     * 获取手机验证码
     *
     * @param phone
     * @return
     */
    String sendMsg(String phone);

    /**
     * 校验验证码
     *
     * @param verifyCode 验证码
     * @param verifyKey  验证码key
     */
    void checkVerifyCode(String verifyCode, String verifyKey) throws BusinessException;
}
